export class LocationUtils {
  /**
   * 获取位置
   * @returns 位置
   */
  static getLocation(location : string): string[]{
    let locations : string[] = []
    if (location) {
      locations = location.split("-##-");
    }
    return locations;
  }

  static replaceAll(str:string):string {
    if (str.includes('##')) {
      return this.replaceAll(str.replace('##', '->'));
    } else {
      return str;
    }
  }

}